package com.wanghlme.bookstore.util.common;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class StringUtil {
    public static boolean isNullEmptyBlank(String originStr) {
        log.debug("传入 originStr -> {}", originStr);
        log.debug("判断 originStr == null -> {}", originStr == null);
        if (originStr != null) {
            log.debug("判断 originStr.isEmpty() -> {}", originStr.isEmpty());
            log.debug("判断 originStr.isBlank() -> {}", originStr.isBlank());
            return originStr.isEmpty() && originStr.isBlank();
        } else {
            return true;
        }
    }
}
